using LiJ.Common.Core;

namespace LiJ.Pay.Ali
{
	/// <summary>
	/// 基础响应实体
	/// </summary>
	public class ZPayBaseResp : ResultMo
	{
		private string _code = string.Empty;

		/// <summary>   
		///    String 必填 长度(-)  网关返回码,详见文档
		/// </summary>  
		public string code
		{
			get
			{
				return this._code;
			}
			set
			{
				this._code = value;
				if (this._code != "10000")
				{
					base.Ret = -1;
				}
			}
		}

		/// <summary>   
		///    String 必填 长度(-)  网关返回码描述,详见文档 Failed
		/// </summary>  
		public new string msg
		{
			get;
			set;
		}

		/// <summary>   
		///    String 可空 长度(-)  业务返回码,详见文档
		/// </summary>  
		public string sub_code
		{
			get;
			set;
		}

		/// <summary>   
		///    String 可空 长度(-)  业务返回码描述,详见文档
		/// </summary>  
		public string sub_msg
		{
			get;
			set;
		}
	}
}
